/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package homomorphism;

import org.apache.hadoop.conf.Configured;
import org.apache.hadoop.util.Tool;

/**
 *
 * @author liuyu
 */
public abstract class HomomorphismBase extends Configured implements Tool{

    public static final int Giga = 1073741824;
    public static final int Mega = 1048576;
    public static final int Kilo = 1024;
    public static final int TenKilo = 10240;
    //public static final String InKeyClassProperty = "UserInputKeyType";
    public static final String IndexKeyClassProperty = "IndexType";

    public static final String FoldingInValClassProperty = "FirstMapOutputValueClass";
    public static final String FoldingOutValClassProperty = "OutputValueClass";

    public static final String UserClassNameProperty = "UserClassName";
    public static final String REDUCES_PER_HOST =    "mapreduce.sort.reducesperhost";
    public abstract int run(String[] strings) throws Exception;
}
